﻿#ifndef AppRunningInfo_H
#define AppRunningInfo_H

#include <QString>
#include <TLVEncodedObject.h>

typedef enum
{
    AppRunningInfoTag_name = 1,

    AppRunningInfoTag_startCmd = 2,

    AppRunningInfoTag_type = 3,

    AppRunningInfoTag_cfgInfo = 4,

    AppRunningInfoTag_runningState = 5

} AppRunningInfoTag;


class AppRunningInfo : public TLVEncodedObject
{
public:
    AppRunningInfo();

    virtual int decodeParametersFromTlv(TLV* tlv);

    virtual int encodeParametersIntoTlvs(list<TLV *> & tlvs);

    SString cfgInfo;
    SString name;
    SString startCmd;
    SString type;
    SString runningState;

};

#endif // AppRunningInfo_H
